package com.jxmcloud.business.cut.constants;

public class CutErrorMsg {

    public static final String ERROR_TRUE = "";
    public static final String ERROR_RELOGIN = "重新登录";
    public static final String ERROR_FALSE = "服务器错误!";
    public static final String ERROR_NO_STEP = "当前步骤有误!";
    public static final String ERROR_ITEM_NOT_ENOUGH = "道具不足!";
    public static final String ERROR_NO_AWARD = "谢谢惠顾!";
    public static final String ERROR_NO_ACCOUNT = "用户账号异常,请联系管理员";
    public static final String ERROR_NO_ACCOUNT_TIME = "用户账号异常,截止时间到%d,请联系管理员";
    public static final String ERROR_NO_PHONE = "请到玄乐平台填写手机号";

    // 错误码
    public static final int ERROR_CODE_OK = 0;
    public static final int ERROR_CODE_FAIL = 1;
    public static final int ERROR_CODE_RELOGIN = 2;
    public static final int ERROR_CODE_LACK_PHONE = 3;



    public static boolean isOk(String msg) {
        if (msg.equals(ERROR_TRUE)) {
            return true;
        }
        return false;
    }



}
